@page {
	size: a4 portrait;
	/*@top-center { content: element(header-center) };*/
	@top-left { content: element(header-left) };
	@top-right { content: element(header-right) };
	@bottom-left { content: element(footer-left) };
	@bottom-right { content: element(footer-right) };
}

#pagenumber:before {  content: counter(page);  }
#pagecount:before {  content: counter(pages);  }

@media print {
	div.header-center { display: block; position: running(header-center); padding-top:7mm; padding-bottom:1mm; border-bottom:1px solid #ccc}
	div.header-left {  display: block;  position: running(header-left);  }
	div.header-right {  display: block;  position: running(header-right);  }
	div.footer-left {  display: block;  position: running(footer-left);  }
	div.footer-right {  display: block;  position: running(footer-right); padding-bottom:7mm; border-top:1px solid #ccc}
}

/*

@page {
    size: a4 portrait;
    margin: 20mm 10mm;
    padding: 1em;
    @top-left {content: element(header);}
    @bottom-left{content: element(footer);}
    @bottom-center{content: counter(page) " / " counter(pages);}
    @bottom-right{content: "www.quidos.co.uk";}
}

@page blank {
    size: a4 portrait;
    margin: 20mm 10mm;
    padding: 1em;
    @top-left { content: normal }
    @bottom-left { content: normal }
    @top-right { content: normal }
    @bottom-right {content: normal }
    @bottom-center{content: normal }
}


*/
/*header as footer will automatically icluded in each pdf printed page*//*

#header { position: running(header);}
#footer { display: block; position: running(page_footer);}

#pagenumber:before {content: counter(page);}
#pagecount:before {content: counter(pages);}

*/
/* Used for generating Table of content *//*

#toc a::after { content: leader('.') target-counter(attr(href), page); }

*/
/* Use this class for first level titles *//*

.page_break_before{ page-break-before: always; }

*/
/* Use this class for forcing page break inside pdf *//*

.page_breaker{page-break-after:always;}
.blank { page : blank; }
*/
